package com.beagle.njddapp.bean;

import java.io.Serializable;

/**
 * @author hxx
 * @date 2021-04-27 19:37
 */
public class OcrIdBean implements Serializable {

    /**
     * error_code : 0
     * reason : 成功
     * result : {"realname":"马**","idcard":"640324************","isok":true,"IdCardInfor":{"province":"宁夏回族自治区","city":"吴忠市","district":"同心县","area":"宁夏回族自治区吴忠市同心县","sex":"女","birthday":"1991-12-1"}}
     */

    private int error_code;
    private String reason;
    private ResultBean result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable {
        /**
         * realname : 马**
         * idcard : 640324************
         * isok : true
         * IdCardInfor : {"province":"宁夏回族自治区","city":"吴忠市","district":"同心县","area":"宁夏回族自治区吴忠市同心县","sex":"女","birthday":"1991-12-1"}
         */

        private String realname;
        private String idcard;
        private boolean isok;
        private IdCardInforBean IdCardInfor;

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public String getIdcard() {
            return idcard;
        }

        public void setIdcard(String idcard) {
            this.idcard = idcard;
        }

        public boolean isIsok() {
            return isok;
        }

        public void setIsok(boolean isok) {
            this.isok = isok;
        }

        public IdCardInforBean getIdCardInfor() {
            return IdCardInfor;
        }

        public void setIdCardInfor(IdCardInforBean IdCardInfor) {
            this.IdCardInfor = IdCardInfor;
        }

        public static class IdCardInforBean {
            /**
             * province : 宁夏回族自治区
             * city : 吴忠市
             * district : 同心县
             * area : 宁夏回族自治区吴忠市同心县
             * sex : 女
             * birthday : 1991-12-1
             */

            private String province;
            private String city;
            private String district;
            private String area;
            private String sex;
            private String birthday;

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }
        }
    }
}
